Issue #30: Replace Psalm with PHPStan#31
Conversation
Signed-off-by: horea <horea@rospace.com>
|
@arhimede Should we push forward implementing PHPStan on branch Note This PR was created from branch |
Let's modify the branch 3.0 to use phpstan |
alexmerlin
left a comment
There was a problem hiding this comment.
- Replace all occurrences of
DotKernelwithDotkernel.
- In
src/Assertion/AssertionPluginManager.phpreplace:
/** @var string */
protected $instanceOf = AssertionInterface::class;with
/** @var null|class-string<AssertionInterface> $instanceOf */
protected $instanceOf = AssertionInterface::class;- In
src/Role/Provider/RoleProviderPluginManager.phpreplace:
/** @var string */
protected $instanceOf = RoleProviderInterface::class;with
/** @var null|class-string<RoleProviderInterface> $instanceOf */
protected $instanceOf = RoleProviderInterface::class;- Add to
phpstan.neon'signoreErrorsthe 3 errors reported by PHPStan.
Signed-off-by: horea <horea@rospace.com>
No description provided.